package a1;
//1.私有化成员变量
// 2.get.set 方法
// 3.有参构造无参构造
public class mxdxx {
    private String name;
    private String set;
//alt+insert 构造方法，有参和无参
    public mxdxx(String name, String set) {
        this.name = name;
        this.set = set;
    }

    //alt+insert get.set方法
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSet() {
        return set;
    }

    public void setSet(String set) {
        this.set = set;
    }
}
